package com.rmuti.designpattern.creation.abstractfactory.lab01;

public class ApplicationRunner {
	
	public static void main(String[] args) {
		new Application(createGUIOSSpec());
	}
	
	public static GUIFactory createGUIOSSpec(){
		int i = 0;
		if(i==0){
			return new WinFactory();
		} else if (i==1){
			return new OSXFactory();
		}
		return null;
	}

}
